[@main]
#ACT
;Pre define strings for npc
MOV S1 "<Show String 1/@s1>"
MOV S2 "<Show String 2/@s2>"
MOV S3 "<Show String 3/@s3>"
MOV S4 "<Show String 4/@s4>"
MOV S5 "<Show String 5/@s5>"
#SAY
This is a example of how to dynamicaly change a npc with out any extra\ 
coding. This is ideal for quests or functions that require the user to unlock\ 
specific things before they come available. Before a admin used to write\
several npc pages for different outcomes and it could be a very time \
consuming job.\ \
<Continue to Example/@example>\

[@example]
Below there are several strings however they are hidden by default.\
Click show to reveal them.\
;List all string contents
<$STR(S1)>\
<$STR(S2)>\
<$STR(S3)>\
<$STR(S4)>\
<$STR(S5)>\ \
<Hide All/@hideall> - <Example 2 - No wasted line breaks/@example2>\

[@example2]
#ACT
;Define strings with line breaks \
MOV S1 "String 1\"
MOV S2 "String 2\"
MOV S3 ""
MOV S4 "String 4\"
MOV S5 "String 5\"
#SAY
If the required string is blank it will show nothing but include a line break.\
This means that you will see nothing but a empty line. Please see the\
workaround below the explanation is on the next screen.\ 
(String 3 is missing on perpous).\
;When strings are displayed below if a string is missing there wont be a empty space.
<$STR(S1)>
<$STR(S2)>
<$STR(S3)>
<$STR(S4)>
<$STR(S5)>
<Continue/@example2b>\


[@example2b]
By inserting the line breaks inside the strings you do not waste line breaks\
in raw code that is not being shown. Please be aware ths is much easier to\
understand when viewing the code in a text editor as the game is rendering\
the code on the fly.\ \
Thanks, Blooddemon (Chris)\


[@s1]
#ACT
;Change S1 contents to the following text, Make sure its in quotes or you cant use spaces..
MOV S1 "This is String 1"
goto @example


[@s2]
#ACT
MOV S2 "This is String 2, You can also put in <Links/@examplelink>"
goto @example


[@s3]
#ACT
MOV S3 "This is String 3, Possible for npc quests or teleport unlocks"
goto @example


[@s4]
#ACT
MOV S4 "This is String 4"
goto @example


[@s5]
#ACT
MOV S5 "This is String 5"
goto @example
break


[@examplelink]
#ACT
;Just a inside joke, Conner will get this!
setranklevelname "HEROBOTCAN RING"


[@hideall]
#ACT
;Reset all strings back to default
MOV S1 "<Show String 1/@s1>"
MOV S2 "<Show String 2/@s2>"
MOV S3 "<Show String 3/@s3>"
MOV S4 "<Show String 4/@s4>"
MOV S5 "<Show String 5/@s5>"
goto @example